/**2013-4-10
 zhangqj
 * 
 */
package net.spring.controller;

/**
 * @author zhangqj
 *2013-4-10
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HelloWorldController {

 @RequestMapping("/hello.di")
 public ModelAndView helloWorld() {

  String message = "Hello login, Spring 3.0!";
  System.out.println(message);
  return new ModelAndView("login", "msg", message);
 }

}